package cn.xorange.commons.security.constants;


public class CacheConstants {
    private CacheConstants(){}

    /** 令牌前缀 ,用户传至前端的Token前缀 */
    public static final String TOKEN_PREFIX = "Ticket ";

    /** 登陆错误 失败 redis key */
    public static final String LOGIN_ERR = "login_err";

    /**
     * 页面防止重复提交恶意攻击 缓存名
     */
    public static final String WEB_ASK_LIST_KEY = "web_ask_list";

    /** 验证码 每隔 1分钟 清理一次 */
    public static final long CAPTCHA = 2 * 60L;






}
